package com.haiyi.activiti.engine.query;

import com.haiyi.activiti.engine.model.entity.User;
import com.haiyi.activiti.engine.framework.database.Query;

import java.util.Date;

/**
 * <p> </p>
 *
 * <pre> Created: 2018/12/3 15:25 </pre>
 *
 * @author hlu
 * @version 1.0
 * @since JDK 1.7
 */
public interface UserQuery extends Query<UserQuery, User> {

    UserQuery userId(String iid);

    UserQuery loginName(String loginName);

    UserQuery password(String password);

    UserQuery deleteFlag(String deleteFlag);

    UserQuery updater(String updater);

    UserQuery creater(String creater);

    UserQuery status(String status);

    UserQuery tokenExpire(String tokenExpire);

    UserQuery name(String name);

    UserQuery roleName(String shortName);

    UserQuery roleNameContains(String... shortNames);

    UserQuery roleId(String roleId);

    UserQuery roleIdContains(String... roleIds);

    UserQuery createTime(Date date);

    UserQuery createTimeBefore(Date date);

    UserQuery createTimeAfter(Date date);

    UserQuery updateTime(Date date);

    UserQuery updateTimeBefore(Date date);

    UserQuery updateTimeAfter(Date date);
}
